FloatDraw beta
TypeAlias of @v12-engine/client
ts
export type FloatDraw = (ctx: CanvasRenderingContext2D, float: {
text: string;
value?: number;
pose: FloatPose;
size: number;
color: string;
input: FloatInput;
}) => void;A float drawn by the game (FloatDef.render): the overlay's context, moved to where the float is and scaled, its words as they are now, the float's pose and style