Event: Detached(target)

Related Actions: attach, glue, detach, letchild, letparent, letsibling
See also: FKiSS, Events, Actions

detached(target)

First defined in: FKiSS4
The detached event is triggered when the target is detached from its parent object.
This can be triggered by the user dragging a target which is attached but not glued or by the detach action.
Only one detached event should exist for any target.

target

target must be an object number.

Example:

;@ detached(#5)          ; When object #5 becomes detached from its parent...
;@   map("shrttorn.cel") ; Show the torn shirt image
;@   unmap("shirt.cel")  ; and hide the normal shirt image.