Nonexistent function 'set_window_mouse_passthrough'

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By senshellshark

Running this:

extends Node

func _ready():

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