Documentation Topics
Function

PRVirconBtnSetIsToggle()

Sets whether or not the given button should behave like a toggle button. If true the button stays pressed when the player presses it, requiring the player to press it again to return it to its unpressed state. If false, the button automatically returns to its unpressed state when the player lets go of it.


Declaration

PRVirconBtnSetIsToggle(btnId, isToggle)

Parameters

btnId

The button ID.

isToggle

true if a toggle button is desired, false otherwise.

Return Value

n/a