Enum Control.MouseFilterEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum Control.MouseFilterEnum : long
Fields
Ignore = 2
The control will not receive mouse movement input events and mouse button input events if clicked on through _GuiInput(InputEvent). The control will also not receive the MouseEntered nor MouseExited signals. This will not block other controls from receiving these events or firing the signals. Ignored events will not be handled automatically.
Note: If the control has received MouseEntered but not MouseExited, changing the MouseFilter to Ignore will cause MouseExited to be emitted.
Pass = 1
The control will receive mouse movement input events and mouse button input events if clicked on through _GuiInput(InputEvent). And the control will receive the MouseEntered and MouseExited 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. If no control handled it, the event will be passed to _ShortcutInput(InputEvent) for further processing.
Stop = 0
The control will receive mouse movement input events and mouse button input events if clicked on through _GuiInput(InputEvent). And the control will receive the MouseEntered and MouseExited 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.