setActive

open fun setActive(isActive: Boolean)

Changes the state of @self to the desired one.

Parameters

isActive

true if @self should be active, and false otherwise