Skip to main content
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.4.6/src/entities/containers/mod.ts";

Constructors

new
Button(child: Sprite | Image | Rectangle)

Properties

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