Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug How to interact with widgets

Joined
Nov 12, 2016
Messages
3
I have been trying to use this:

InteractableRectangle(int x, int y, int width, int height)


I found all four numbers but I am not sure how to implement it into my code.

I am trying to use the methods .isVisible as a boolean to check if it is visible

ANd then if it is visible, I was to use .click

I tried something like

if (InteractableRectangle(5,5,5,5).isVisible()) {
InteractableRectangle(5,5,5,5).click())
}


But this was giving me errors.
Sorry if this is a stupid post, I am new to using this API here and couldn't find any classes in it.
 
Top