ID:157205
 
Is it possible to use Enter proc on something that is on your screen? (GUI)
No. Why would you ever need that? There's most likely a better method.
In response to Emasym (#1)
Can enter proc work on in object then? An object thats in the map.
In response to Ishuri (#2)
Ishuri wrote:
Can enter proc work on in object then? An object thats in the map.

It does, but probably not the way you want. Enter() is called on an attempt to Move() to an atom's contents. Player moves to a /turf, turf's Enter() proc is called, with the player as an argument. Player picks up a sword, player's Enter() proc is probably called with the sword as an argument.

One thing you can do is check for objects inside a turf when something enters the turf. So code might go something like player tries to Enter() turf, turf/Enter() loops through all the objects (possibly of a specific type), and does things that has to do with particular objects on a turf.