How to Turn a Prop Into an Enemy When Clicked

Last updated: January 28, 2025

  1. Start by placing the prop that will chase the player on your plot.

  1. Select the prop, and select this button to open our Properties tab.

  1. Open the Code Builder and create a new script. You can name it anything that describes what the script will do!

  1. Let's open up our Events blocks and drag the when player clicks object into our scripting area. This will activate every time the player clicks on the prop!

  1. Now, all we need to do is open our Prop blocks and drag the turn Prop into enemy with target Players block in under our when player clicks object block.

  1. Go ahead and save the script, then press play on your game, click your prop and watch it turn into an enemy!
From here, you could try out the Enemy blocks to change the stats of your newly made enemy!

Was this article helpful?

Thanks for your feedback!