Ask here your questions to get help using GDevelop.
User avatar
By Lizard-13
#64670 You can use the expressions
Code: Select allMouseX("layer_name", camera_number)

and
Code: Select allMouseY("layer_name", camera_number)

The base layer can be referenced with the name "" (empty string). Finally, if you want the position in the base layer and the first camera (default layer and camera), you can use:
Code: Select allMouseX() and MouseY()


By the way, the basic turret tutorial explains it ;)