unclickable button when set as child

hello! I’ve put a reset button on my game, and on the first levels (with still camera) it works… but on lather levels (when camera start to follow the player) it doesn’t work anymore. I’ve put it as child of the player (easyest way to make it move as him), but since then it stopped to work. (with the debug.log function, I’ve found that it doesn’t even understand when the mouse is over it. some suggestions?

hi,as far as I know ,to click on a UI button you need an EventSystem and a Canvas,if you can see your button at other levels you have the canvas,So I guess you just need an Event System.

and what do you mean of that I’ve put it as child of the player (easyest way to make it move as him)

UI button’s are not moving I guess you might need this

102220-untitled.png

so in this case size of the canvas will match with your camera and it moves with your camera.