ID:2187518
 
(See the best response by Nadrew.)
I understand the screen_loc var is used to decide the position (if any) of objects in the client's .screen var, but I'm wondering what I would use to reference the position of an object on the player's screen if, for example, I wanted to use that point as a reference to have other thing appears on the player's screen? Opening a backpack on the ground and having the inventory squares of the backpack appear over it instead of just a default row of squares on the player's HUD.
Best response
Inside of Click() and other similar mouse procs you can read "screen_loc" out of the params list, this'll allow you to determine where on the screen an object is when you interact with it.