Enum
InputSink
Controls how a GuiObject or GuiButton absorbs pointer and
activation input events relative to GUI elements beneath it.
Controls how a GuiObject or GuiButton absorbs pointer and
activation input events relative to GUI elements layered beneath it. Use this
enum with the GuiObject.InputSink property, which defaults to
InputSink.None on GuiObject and InputSink.Activate on
GuiButton.
Items 3#
| Name | Value | Summary |
|---|---|---|
None | 0 | The element does not sink any input events; pointer and activation events pass through to elements beneath it. |
Activate | 1 | The element sinks activation input (button presses and taps) but allows
hover, MouseEnter, and MouseLeave events to pass through to elements
beneath it. |
All | 100 | The element sinks all input events, preventing them from reaching any GUI element beneath it. |