Skip to content

EntityOrder

Narta Xaymar Dirks edited this page Oct 29, 2026 · 6 revisions
Blitz3D

EntityOrder

EntityOrder:Void entity:Int32, order:Int32
Parameter Mode Type Default Description
entity In Int32 required Entity handle.
order In Int32 required Greater than 0 for behind everything, less than 0 for in front, 0 for normal.

Description

Changes the drawing order of an entity. 0 draws it normally. A positive value draws it before everything else, so it ends up behind, and a negative value draws it last, so it ends up in front. Entities with a non-zero order ignore the depth buffer, so use this only for simple convex things such as skyboxes and sprites. It affects only the entity, not its children.

Related Commands

EntityAlpha, EntityAutoFade, EntityBlend, EntityClass, EntityColor, EntityDepthFade 〔BlitzLLVM〕, EntityDistance, EntityFX

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally