🖲 Sets the cursor to a CSS cursor type or image. If an image is provided, optional x and y coordinates can specify the active point of the cursor.
name of the cursor or the url to an image
Optional
x-coordinate of the cursor's point
y-coordinate of the cursor's point
await Canvas(200, 100);cursor('pointer'); Copy
await Canvas(200, 100);cursor('pointer');
🖲 Sets the cursor to a CSS cursor type or image. If an image is provided, optional x and y coordinates can specify the active point of the cursor.