GenericObject Interact

GenericObject.Interact
Most objects that inherit from GenericObject can be intereacted with, such as a GameObject being opened/clicked; this method will attempt to interact with something. The bot does not check if the object you are trying to interact with is in-range and throws no error if it's unable to the reach the object, so that needs to be checked/resolved manually.

Example
// Loop every GameObject loaded. foreach (GameObject obj in GameObjects) {	// Check if the object is named "Mailbox" if (obj.Name == "Mailbox") {		Print("Interacting with " + obj.DisplayName); obj.Interact; // Attempt to interact with the mailbox. } }