UserInputType列挙型(Enum)

列挙型(Enum)日本語解説は準備中

ひとことで言うと

UserInputTypeは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。

公式の説明(英語):Describes the type of a user input event.

選べる値(21)

名前値説明
Enum.UserInputType.MouseButton10The left mouse button.
Enum.UserInputType.MouseButton21The right mouse button.
Enum.UserInputType.MouseButton32The middle mouse button.
Enum.UserInputType.MouseWheel3The mouse wheel.
Enum.UserInputType.MouseMovement4Movement of the mouse. Fires changed events each time the player's cursor position changes and when the move enters/leaves the game window.
Enum.UserInputType.Touch7A tap on the screen from a mobile device.
Enum.UserInputType.Keyboard8Key press on a keyboard.
Enum.UserInputType.Focus9The client regaining focus of the Roblox window.
Enum.UserInputType.Accelerometer10The accelerometer of a mobile device.
Enum.UserInputType.Gyro11The Gyroscope of a mobile device.
Enum.UserInputType.Gamepad112Input from the 1st plugged in Gamepad.
Enum.UserInputType.Gamepad213Input from the 2nd plugged in Gamepad.
Enum.UserInputType.Gamepad314Input from the 3rd plugged in Gamepad.
Enum.UserInputType.Gamepad415Input from the 4th plugged in Gamepad.
Enum.UserInputType.Gamepad516Input from the 5th plugged in Gamepad.
Enum.UserInputType.Gamepad617Input from the 6th plugged in Gamepad.
Enum.UserInputType.Gamepad718Input from the 7th plugged in Gamepad.
Enum.UserInputType.Gamepad819Input from the 8th plugged in Gamepad.
Enum.UserInputType.TextInput20Input of Text into a text-based GuiObject. Normally this is only a TextBox.
Enum.UserInputType.InputMethod21Text input from an input method editor (IME). Class.InputObject|InputObjects with this type aren't currently fired.
Enum.UserInputType.None22Unknown UserInputType.

英語の説明とメンバーの一覧は、Roblox Creator Documentation(UserInputType)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。

執筆:鈴木孝昌官公庁のWeb・システム開発を担当する現役プロジェクトマネージャー。沖縄マイクラ部 クロスウェーブで、ロブロックス(Roblox)・マインクラフト(マイクラ)・Scratchなどのプログラミングを指導。マイクラカップ沖縄代表チームを指導(第6回・第7回、第7回TBS賞)。
沖縄マイクラ部で、子どもたちにロブロックス(Roblox)やマインクラフト(マイクラ)のプログラミングを教えています。プロフィールと編集方針
Instagramで教室の様子を見る
noteで記事を読む