Roblox UtilitiesDevlHub Roblox Documentation

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#

NameValueSummary
None0The element does not sink any input events; pointer and activation events pass through to elements beneath it.
Activate1The element sinks activation input (button presses and taps) but allows hover, MouseEnter, and MouseLeave events to pass through to elements beneath it.
All100The element sinks all input events, preventing them from reaching any GUI element beneath it.