You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm trying to create a simple world editor using Ursina Engine, but when I looked on the documentation I couldn't find anything that would help me with the mouse position. I did already tried doing mouse.position, but the output wasn't an integer. And when I tried get_mouse_position() it wasn't there. So by any chance would you help me by either telling me if my code is wrong, or maybe showing me where in your code you have the Cursor() function or any other function that uses the position of the mouse. Thanks love your engine. if held_keys['left mouse down']: player.x = mouse.position
The text was updated successfully, but these errors were encountered:
So I'm trying to create a simple world editor using Ursina Engine, but when I looked on the documentation I couldn't find anything that would help me with the mouse position. I did already tried doing mouse.position, but the output wasn't an integer. And when I tried get_mouse_position() it wasn't there. So by any chance would you help me by either telling me if my code is wrong, or maybe showing me where in your code you have the Cursor() function or any other function that uses the position of the mouse. Thanks love your engine.
if held_keys['left mouse down']: player.x = mouse.position
The text was updated successfully, but these errors were encountered: