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

x/caviar/src/entities/containers/mod.ts>Button

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
class Button
extends Entity
import { Button } from "https://deno.land/x/caviar@2.6.0/src/entities/containers/mod.ts";

Constructors

new
Button(child: Sprite | Image | Rectangle)

Properties

child: Sprite | Image | Rectangle
writeonly
x: number
writeonly
y: number