Reference API Roblox

Engine API

Website

Related

Reference API Roblox

InputSink

Controls how a GuiObject or GuiButton absorbs pointer and activation input events relative to GUI elements beneath it.

Items 3

HistoryNameValueDescription
711None0

The element does not sink any input events; pointer and activation events pass through to elements beneath it.

711Activate1

The element sinks activation input (button presses and taps) but allows hover, MouseEnter, and MouseLeave events to pass through to elements beneath it.

711All100

The element sinks all input events, preventing them from reaching any GUI element beneath it.

Description

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.

History 4

Settings