Workshop.codes
Create

Destroy Effect Last updated March 17, 2026

Description

Destroys an effect entity that was created by Create Effect.

Snippet

Destroy Effect(Last Created Entity Entity);

Properties

Returns: Void
Parameters: Entity

Entity
Type: Entity ID, Default: Last Created Entity Entity
Specifies which effect entity to destroy. This entity may be last created entity or a variable into which last created entity was earlier stored.

Notes

  • An array of entities may be provided in the place of a single entity ID, in which case all effect entities contained within the array will be destroyed.
    • This behavior may be verified with the share code NV3FE6
Workshop.codes