ButtonStyle : setActivateOn

Indicates how is the Button activated.

Syntax

ButtonStyle.setActivateOn(string)

Parameters

string

'OVER' to activate the Button when the mouse is over the button, 'UP' (default) when the mouse is released, 'DOWN' when the mouse is pressed.