pressed modifier checks for cubescript