Click or drag to resize

ControlMouseFilterEnum Enumeration

[Missing <summary> documentation for "T:Godot.Control.MouseFilterEnum"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum MouseFilterEnum
Members
  Member nameValueDescription
Stop0

The control will receive mouse button input events through _GuiInput(InputEvent) if clicked on. And the control will receive the mouse_entered and mouse_exited signals. These events are automatically marked as handled, and they will not propagate further to other controls. This also results in blocking signals in other controls.

Pass1

The control will receive mouse button input events through _GuiInput(InputEvent) if clicked on. And the control will receive the mouse_entered and mouse_exited signals. If this control does not handle the event, the parent control (if any) will be considered, and so on until there is no more parent control to potentially handle it. This also allows signals to fire in other controls. Even if no control handled it at all, the event will still be handled automatically, so unhandled input will not be fired.

Ignore2

The control will not receive mouse button input events through _GuiInput(InputEvent). The control will also not receive the mouse_entered nor mouse_exited signals. This will not block other controls from receiving these events or firing the signals. Ignored events will not be handled automatically.

See Also