// for the clicked entity....
final EntityView view = screen.getEntityViewAt(location.getX(), location.getY());
boolean doubleClick = Boolean.parseBoolean(WtWindowManager.getInstance().getProperty("ui.doubleclick", "false"));
if ((view != null) && view.isInteractive()) {
if (isCtrlDown()) {
view.onAction();
return true;
} else if (isShiftDown()) {
view.onAction(ActionType.LOOK);
return true;
} else if (!doubleClick) {