[SOLVED] [plugins making] Getting input from the editor 2D viewport; forward_canvas_gui_input(event) simply doesn't work

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

Godot_v3.0.5-stable_x11.64
forward_canvas_gui_input(event) simply doesn’t work.

:bust_in_silhouette: Reply From: hipi

Looks like you also have to declare the following virtual function:

func handles(object):
return true

These things are not documented at all, so no wonder I didn’t know that. I hope this helps someone.