从文档中得知: getStage public Stage getStage() 返回当前演员所在的舞台,如果不在舞台上则返回null。 因此可以像这样使用: if(actor.getStage() == null) { //actor not on stage }