How do I tell if the player is play testing with a plugin

How do I tell if the player is play testing with a plugin
Thanks!

1 Like

Please provide more details on this topic, what exactly are you trying to accomplish?

1 Like

So basically I have made plugins before and every time I start testing what ever was in the plugin script keeps running, like auto anchor. So I am wondering how to make it so I can tell when the user of the plugin starts testing the game that way I can stop it lets say from anchoring stuff.

1 Like

That still makes no sense. You mean in studio plugin, and to make it stop running once you publish a new version?

2 Likes
2 Likes

From looking at this, should I be using :IsRunning or :IsRunMode?
Thanks!

2 Likes

I face palmed irl but I know it’s not your fault. They meant as in when the user clicks the play button to play test. The example they gave (auto anchor) would well auto anchor.

1 Like

Definitely use IsRunning, because IsRunMode would probably only cover the non-character playtests.

1 Like

Plugins are always in Studio, so this would always return true even if you’re not playtesting.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.