Skip to main content
Module

x/caviar/mod.ts>Entity#onClick

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

Runs when the entity is clicked