1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bug How to interact with widgets

Discussion in 'Developer Support' started by AccountCr200, Nov 16, 2016.

  1. AccountCr200

    Joined:
    Nov 12, 2016
    Messages:
    3
    Likes Received:
    0
    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.
     
  2. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606

Share This Page

Loading...