Function
Fast
Actor:SetLifeSpan
Sets the time (in seconds) before this Actor is destroyed. After this time has passed, the actor will be automatically destroyed.
Syntax
my_actor:SetLifeSpan(seconds)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
seconds
|
float | — | Seconds before being destroyed |