# InputActionType(ロブロックス 列挙型(Enum)) > This enum is used by InputAction.Type to determine which input data type the InputAction will receive. - URL:https://roblox.minecraft-okinawa.com/reference/enums/InputActionType/ - 公式:https://create.roblox.com/docs/reference/engine/enums/InputActionType ## 選べる値 - Enum.InputActionType.Bool(0):The InputAction will receive boolean values from button inputs, for example true/false on press/release from inputs such as KeyCode.ButtonA or KeyCode.E. This setting also exposes the Class.InputBinding.UIButton|UIButton property on child Class.InputBinding|InputBindings, allowing you to easily hook up press or release of a GuiButton for the action. - Enum.InputActionType.Direction1D(1):The InputAction will receive numerical values, generally from analog gamepad triggers such as KeyCode.ButtonL2 or KeyCode.ButtonR2. This setting also exposes the Class.InputBinding.Up|Up and Class.InputBinding.Down|Down properties on child Class.InputBinding|InputBindings, allowing for boolean inputs or "1D" inputs as composite directions for the action. - Enum.InputActionType.Direction2D(2):The InputAction will receive Vector2 values, generally from thumbstick inputs such as KeyCode.Thumbstick1 and KeyCode.Thumbstick2. This setting also exposes the Class.InputBinding.Up|Up, Class.InputBinding.Down|Down, Class.InputBinding.Left|Left, and Class.InputBinding.Right|Right properties on child Class.InputBinding|InputBindings, allowing for "2D" inputs as composite directions for the action. - Enum.InputActionType.Direction3D(3):The InputAction will receive Vector3 values from inputs assigned to the Class.InputBinding.Up|Up, Class.InputBinding.Down|Down, Class.InputBinding.Left|Left, Class.InputBinding.Right|Right, Class.InputBinding.Forward|Forward, and/or Class.InputBinding.Backward|Backward properties on child Class.InputBinding|InputBindings, allowing for "3D" inputs as composite directions for the action. - Enum.InputActionType.ViewportPosition(4):The InputAction will receive Vector2 values representing the absolute pixel (**X**, **Y**) coordinates of a pointer input in the viewport. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)