Terrain decoration true/false script wont work

I’m trying to get my script to work but it just wont… How do I get it so when a GUI button is pressed it allowes decoration in terrain to be true?
image

According to documentation. Change Decoration property is not accesible by scripting, only in studio…
But… Im a noob… so wait for others to confirm it :v

This is true.

Unfortunately, at this point, you can’t toggle the Decoration property through any means other than the properties window. You are forced to decide whether you want the feature in your game, or not, before hand.

2 Likes

Dang… Alright thanks for the help guys.

1 Like