Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | senshellshark |
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?
What OS are you trying to use it with? According to the docs:
Note: This method is implemented on Linux, macOS and Windows.
OS — Godot Engine (stable) documentation in English
jgodfrey | 2021-01-27 23:37
I’m trying to use it with Windows 10
senshellshark | 2021-01-28 00:00
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…
jgodfrey | 2021-01-28 16:33