/
component.isStopping()

component.isStopping()

The component.isStopping() function can be used to return whether the component is in a stopping state or not.

It will return true for stopping state, false for live.

It’s often used with if statements to conditionally execute specific actions. For example, Making components interruptible.

if component.isStopping() then -- execute actions that I want to occur when the component stops end

 

 

 

Related content

Executing code in Test versus Live
Executing code in Test versus Live
More like this
component.setTimer{}
component.setTimer{}
More like this
component.setField{}
component.setField{}
Read with this
Making components interruptible
Making components interruptible
More like this
Component APIs
Component APIs
Read with this
error()
More like this