UserInputService
OnUserInput may act non-functional due to service revamp.
Properties
Inherited from Dynamic Set.
Functions
Name
Type
Description
OnUserInput
Void
Fires when input is pressed
IsKeyDown
Boolean
Is current key down
Example
game.Universe.UserInputService.OnUserInput(function(Input)
if input == Enum.UserInput.A then
end
end)
Last updated
Was this helpful?