Think its possible to detect when the mouse is no longer over the trackable. Just check if the GetTriggeringTrackable() > 0.
Do you know anything about Jass? Obviously not...
1. Trackable are HANDLES. You can't compare them to an integer!
2. Even if you could compare them to 0, that wouldn't work anyway. The triggering trackable is always there, unless some weird bug destroys it or the game ends, so GetTriggeringTrackable() will always refer to something in the actions, no longer how wait. It will certainly always be "greater than zero".
If you place the trackable on a flat ground. You can raise the ground with triggers when you dont need to use the trackable. Then the will be hidden under the ground.
Again, you show your inferior knowledge to us all...
1. What if the mapper in question doesn't want bumps all over his map.
2. Modifying the terrain with triggers makes your map lag like hell if you do it too much.
3. You can just make the trackable ignored by checking a boolean which says if the trackable is active or not in your trigger's conditions.
Next time, before you post something which is entirely wrong, or i just plain stupid, think, "will people thank me for this, or will I just get embarrassed by people who actually know Jass who contradict me?". Trust me, it'll help.