# InputSink（ロブロックス 列挙型（Enum））

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

- URL：https://roblox.minecraft-okinawa.com/reference/enums/InputSink/
- 公式：https://create.roblox.com/docs/reference/engine/enums/InputSink

## 選べる値

- Enum.InputSink.None（0）：The element does not sink any input events; pointer and activation events pass through to elements beneath it.
- Enum.InputSink.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.
- Enum.InputSink.All（100）：The element sinks all input events, preventing them from reaching any GUI element beneath it.

英語の説明とメンバー一覧：Roblox Creator Documentation（CC BY 4.0）。日本語の解説はこのサイト独自のものです。

執筆：鈴木孝昌（現役プロジェクトマネージャー／プログラミング講師）／運営：沖縄マイクラ部 プログラミングスクール「クロスウェーブ」（https://minecraft-okinawa.com/）