TGB/MiniTutorials/setCursor
From TDN
[edit]
How to set a custom Mouse Cursor in TGB
new GuiCursor(CustomCursor)
{
hotSpot = "1 1"; // Set this to the X/Y coordinate of where you want the hotspot
bitmapName = "~/client/images/crossHair";
};
Canvas.setCursor(CustomCursor);
The above code was retrieved from the following forum thread, contributed by Harold "LabRat" Brown
Categories: T2D | TGB



