'this' from other scripts is used on a local script

Ive noticed that the ‘this’ used in a script instance might not belong to the class that invokes it… For Example I have an entity with a gamemanager script that calls a method of a script on another entity with a userInterface script… when i call ‘this’ inside userinterface script… it refers to gameengine… How can I manage ‘this’ be;longing to local class only…

Sounds like you just need to read one of the many articles out there explaining the workings of the ‘this’ keyword: