Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/caviar/web/mod.ts>Entity#setPosition

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

Parameters

x: number
y: number
optional
z: number