+1 vote

Running this:

extends Node

func _ready():
    OS.set_window_mouse_passthrough($Polygon2D.polygon)

Results in this error:

Invalid call. Nonexistent function 'set_window_mouse_passthrough' in base '_OS'.

Am I using the method in the wrong place or time?

https://docs.godotengine.org/en/3.2/classes/class_os.html#class-os-method-set-window-mouse-passthrough

Godot version 3.2.3
in Engine by (28 points)

What OS are you trying to use it with? According to the docs:

Note: This method is implemented on Linux, macOS and Windows.

https://docs.godotengine.org/en/stable/classes/class_os.html#class-os-method-set-window-mouse-passthrough

I'm trying to use it with Windows 10

Hmmm... I see the same thing in Windows 10. And, searching the Godot source for that function - I don't find anything... I'm not sure what that means. Either I'm misunderstanding something or perhaps it was inadvertently documented before it was implemented? Someone else may have to chime in here...

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 Frequently asked questions and 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 [email protected] with your username.