use the Canvas Scaler component,you can adjust the base resolution you need and dynamically match the size of the game's UI to the screen resolution in this component, so that your UI is not limited to a specific resolution.
yes, I already use it but in a UI and forgot to correct the rest XD, but ty for the advice :D