Welcome!

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

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

Bug Right click

Joined
Feb 12, 2018
Messages
48
Is there any way to right-click visible GameObjects / Players / GroundItems ?

The click() function doesn't seem to have any parameters.

(sorry for the incorrect tag, this is just a question not a bug, i can't change it)
 
Joined
Jan 25, 2015
Messages
121
As Auxi said, use interact method:
Code:
InteractableEntity x = ....;

x.interact("some action from object");


Interact method also returns a boolean value, then you can use it in a if block to check if the interaction was properly:
Code:
InteractableEntity x = ....;

if (x.interact("any action")){
    //do something like
    //set mesage, camera move
    //and so on
}
 
Top