Switch.setActive

Changes the state of self to the desired one.

class Switch
void
setActive
()

Parameters

isActive bool

true if self should be active, and false otherwise