system
1
|
|
|
|
Attention |
Topic was automatically imported from the old Question2Answer platform. |
|
Asked By |
Nick888 |
I want to use the method get_global_mouse_pos()
but i have this error message:
Method get_global_mouse_pos()
is not declared in the current class.
How i can declared a method in a current class?
Thank you.
system
2
|
|
|
|
Reply From: |
volzhs |
you are using 2.x or 1.x method.
it is get_global_mouse_position()
with godot 3.x
you can easily find with Search Help
in editor.
Thank you very much!
Nick888 | 2019-04-30 07:43
Just wondering, what was the solution because I am unable to find one and it keeps on repeating that it isn’t declared. how should I declare it?