0 votes

I know this question has been asked numerous times, but I have been unable to find a clear solution other than that this will be fixed in 4.0.

I have a game that requires I get the local mouse position for an object. This works just fine until I render the scene through a viewport in a viewport container, then the coordinates for get_local_mouse_position and get_global_mouse_position are completely thrown off.

Has anyone had this issue and found a solution?

Godot version 3.4.2
in Engine by (75 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.