[Solved] Center text on mobile

Good Night Galley Indispensable how to center a text without a game using an anchor or other medium? This is the cell phone screen.

you can use the screen width to center your text. I use it for images this way
myimage.x=screenwidth()/2-myimagewidth/2

2 Likes

but what action can I use, and in this case are texts.

before showing the text you do = windowwidth()/2-mytextwidth()/2 to X position of mytext
And same for.heigth. This is not the exact command, I’m writting what i remmember.

Okay, thank you but I did not quite understand.

will try to do an example and post here
here you are


There you get a text centered on screen

6 Likes

Thank you and that’s it.