* The type of node to be picked from the pick tree
*/
@SuppressWarnings("unchecked")
public static WorldObject getNodeFromPickPath(PInputEvent event,
Class<? extends WorldObject> type) {
PStack nodeStack = event.getPath().getNodeStackReference();
ListIterator<Object> it = nodeStack.listIterator(nodeStack.size());
while (it.hasPrevious()) {
Object node = it.previous();
if (node instanceof PiccoloNodeInWorld) {