Step 4 – Click Detector and Script
Click Detector
- Open the Explorer Window.
- Goto your Shop>BuyButton.
- Press the white Plus next to BuyButton and add a ClickDetector.
Add the BuyScript
- Scroll to the top of the Explorer window.
- Open the Brainstorm Resources folder.
- Drag and drop the BuyScript onto your BuyButton.
- Double click the BuyScript to open the Script editor.
- We will start coding on line 17.