UI text not positioned properly

This is the scene from my preview, where u can see the text (white 0) positioned where i want it, but when i use maximize on play or test on my phone the text isn’t there?

I’ve tried attaching the texxt to the camera, player, platform, etc. but it didnt work, pls help.

Found the answer, set the screen space to camera from overlay, render camera to desired camera in canvas and set the pivot points where you want the text to appear and then drag in my case the canvas to be the child of the camera.