API ReferenceworldinputgetButtonUp()On this pagegetButtonUp() world.input.getButtonUp(input, gamepadIdx) Description Returns true the first frame the user releases the button. Parameters PropertyTypeDescriptioninputnumberName of the action map.gamepadIdx (optional)numberGamepad index. Returns Boolean. Example world.input.getButtonUp(1)