Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/caviar/src/entities/Entity.ts>Entity#setPosition

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Latest
method Entity.prototype.setPosition
import { Entity } from "https://deno.land/x/caviar@2.6.7/src/entities/Entity.ts";

Sets the entities position

Parameters

x: number
y: number
optional
z: number