PointerBuilder
A builder for the Pointer item.
Extends GenericItemBuilder
Example
import { buildPointer } from "@owlbear-rodeo/sdk";
const pointer = buildPointer().position({ x: 0, y: 0 }).build();
Reference
Methods
color
color(color);
Set the pointers color
.
Parameters
NAME | TYPE | DESCRIPTION |
---|---|---|
color | string | The color of the pointer |
Returns the current builder.
radius
radius(radius);
Set the pointers radius
.
Parameters
NAME | TYPE | DESCRIPTION |
---|---|---|
radius | number | The radius of the pointer |
Returns the current builder.
build
build();
Returns the final Pointer item.