CollisionObject2D_InputEvent Method |
Accepts unhandled InputEvents. Requires InputPickable to be true. shape_idx is the child index of the clicked Shape2D. Connect to the input_event signal to easily pick up these events.
Namespace: Godot
public virtual void _InputEvent( Object viewport, InputEvent event, int shapeIdx )
[Missing <param name="viewport"/> documentation for "M:Godot.CollisionObject2D._InputEvent(Godot.Object,Godot.InputEvent,System.Int32)"]
[Missing <param name="event"/> documentation for "M:Godot.CollisionObject2D._InputEvent(Godot.Object,Godot.InputEvent,System.Int32)"]
[Missing <param name="shapeIdx"/> documentation for "M:Godot.CollisionObject2D._InputEvent(Godot.Object,Godot.InputEvent,System.Int32)"]