Hi

I created a simple morph and when I try to grab it using the yellow halo I get this message
    self assert: anElement isInWorld.



draggedElement: anElement

    self assert: anElement isNotNil.
    self assert: anElement isInWorld.

    "compute distance from hand's position in global coordinates"
    self targetOffset: (anElement globalPosition - self globalPosition).
    self privateDraggedElement: anElement.

anElement position: (self globalPointToLocal: self targetOffset + self globalPosition)

Stef

Reply via email to