WaitPadUp

Last Modified: 1/18/2021

Pauses execution until all of the buttons on Port are released. Interrupts are still executed during this time.

Arguments

NameTypeRequiredDescription
Port Integer No Valid values are 0 for Player 1 and 1 for Player 2. If omitted, 0 will be used.

Example

Syntax: WaitPadUp [<Port>]
    While 1
        j = JoyPad()
        Locate 1,1: Print "Hello"
        Locate 2,1: Print "     "
        WaitPadUp
        Locate 2,1: Print "World"
        Sleep 1
    Wend

See Also

JoyPad()