Hi. I would like to know if OnMouseButtonUp can be used for objects that the script is not a component to. If so, a basic example in JS would be appreciated.
Treat it (loosely) like a function that is called through hardware. Anything is possible.
In code you reference the other object and place your object-modifying code in the Event braces. (The Event being OnMouseButtonUp)