# プロジェクトスイッチの切り替えについて

**URL:** https://guild.rpgmakerofficial.com/t/topic/885
**Category:** 質問
**Tags:** 日本語
**Created:** [2025 年 9 月 29 日午前 7:00 UTC](https://guild.rpgmakerofficial.com/t/topic/885 "2025-09-29T07:00:41Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Moonling](https://sea2.discourse-cdn.com/flex002/user_avatar/guild.rpgmakerofficial.com/moonling/32/369_2.png) [@Moonling](https://guild.rpgmakerofficial.com/u/Moonling)
#### Post date: [2025 年 9 月 29 日午後 1:08 UTC](https://guild.rpgmakerofficial.com/t/topic/885/2 "2025-09-29T13:08:12Z")

</div>

Godot系の機能を使う場合は必要になっています。

> [@Manual: Method/Signal/API List](https://guild.rpgmakerofficial.com/t/topic/35):
>
> Here is a list of APIs used to access Action Game Maker classes in GDScript. ObjectVariable/Switch and ProjectVariable/Switch APIs Access Object Variables(VariableSettings Node) Get variable data: $V…

| プロジェクトスイッチのデータに代入 | AGMakerManager.update\_project\_database\_switch(“スイッチ名”, True / False) | |
| --- | --- | --- |

のメソッドが利用できそうです。

CheckButtonの機能を詳しく確認していないためCheckButtonで使えるのかはわかりませんが、

BazさんがButtonPressedのシグナルを変換してヴィジュアルスクリプトで受け取るプラグインを配布されているのでこちらも使えるかもしれません。

> [@\[Plugin\] Baz Signal Relay](https://guild.rpgmakerofficial.com/t/topic/697):
>
> This allows you to connect base Godot node signals to AGMaker visual scripts. How to install: Download the plugin and unzip [baz\_signal\_relay\_v1.1.zip](https://guild.rpgmakerofficial.com/uploads/short-url/m1eCQRlvpNk0S0aUgCJ3URjex8m.zip) (7.2 KB) Take the addons folder and copy i…

---

_[View the full topic](https://guild.rpgmakerofficial.com/t/topic/885)._
