Skip to content

raylib.MatrixTranslate

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get translation matrix

Parameters

Parameter Default Value Note
x 0
y 0
z 0

Return value

Condition Return Value
(always) map

Notes

Example

// Move an object 5 units along X and 3 units along Y
t = raylib.MatrixTranslate(5, 3, 0)

Clone this wiki locally