diff --git a/bindings/GeometryDash.bro b/bindings/GeometryDash.bro
index 762feef3..d2516582 100644
--- a/bindings/GeometryDash.bro
+++ b/bindings/GeometryDash.bro
@@ -1103,6 +1103,17 @@ class EditorOptionsLayer {
 }
 
 class EditorPauseLayer : CCBlockLayer, FLAlertLayerProtocol {
+    static EditorPauseLayer* get() {
+        if (!EditorUI::get()) return nullptr;
+
+        auto editor = LevelEditorLayer::get();
+        for (auto i = 0; i < editor->getChildrenCount(); ++i) {
+            if (auto layer = cast::safe_cast<EditorPauseLayer*>(editor->getChildren()->objectAtIndex(i))) {
+                return layer;
+            }
+        }
+        return nullptr;
+    }
     static EditorPauseLayer* create(LevelEditorLayer* editor) {
         auto pRet = new EditorPauseLayer();
         if (pRet && pRet->init(editor)) {