Token Posted December 24, 2015 Posted December 24, 2015 What do you mean by MouseDestination of a widget? Widgets don't have a mouse themselves so their mouse can't have a destination.
Xerion Posted December 24, 2015 Posted December 24, 2015 You could get the rectangle of the widget and use RectangleDestination 1
Chicken Wing Posted December 24, 2015 Author Posted December 24, 2015 What do you mean by MouseDestination of a widget? Widgets don't have a mouse themselves so their mouse can't have a destination. I'm talking about the class MouseDestination You could get the rectangle of the widget and use RectangleDestination Thanks
Flamezzz Posted December 24, 2015 Posted December 24, 2015 You can just create one right? RS2Widget w = widgets.get(0,0); new WidgetDestination(bot, w); 3