import { type IsometricObjectProps } from "https://deno.land/x/react_isometric_tilemap@2.0.0/components/isometric-object.tsx";
Properties
The height of the object it will be lifted off the ground as z * map slab size
If the object is active, it will catch events, also have less transparency
readonly
optional
onClick: (event: IsometricMapEvent<IsometricObjectProps>) => voidAn even triggered when the user clicks on the object
readonly
optional
onEnter: (event: IsometricMapEvent<IsometricObjectProps>) => voidAn event triggered when the user moves the mouse over the object
readonly
optional
onLeave: (event: IsometricMapEvent<IsometricObjectProps>) => voidAn event triggered when the user moves the mouse out of the object
readonly
optional
onMouseAction: (event: IsometricMapEvent<IsometricObjectProps>) => voidCallback for any mouse event