Skip to content

MoveEntity

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

MoveEntity

MoveEntity:Void entity:Int32, x:Float32, y:Float32, z:Float32
Parameter Mode Type Default Description
entity In Int32 required Entity handle.
x In Float32 required Distance to the right.
y In Float32 required Distance upwards.
z In Float32 required Distance forward.

Description

Moves an entity in the direction it faces. The offset is in the entity's own space: +Z is forward, +X is right and +Y is up, wherever the entity looks. That makes it the right command for cars, bullets and cameras that fly where they point. To move along the world axes use TranslateEntity.

Related Commands

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

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally