Skip to content

FreeEntity

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
Blitz3D

FreeEntity

FreeEntity:Void entity:Int32
Parameter Mode Type Default Description
entity In Int32 required Entity handle.

Description

Removes an entity from the world and releases what it used, including all of its children. The handle is invalid afterwards; using it stops the program with an error. Entities are also freed when the program ends, so call this when you want something gone during the game, such as a spent bullet.

Related Commands

CopyEntity, HideEntity, MoveEntity, NameEntity, PaintEntity, PointEntity, PositionEntity, RotateEntity

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally