Last active
June 14, 2017 09:18
-
-
Save anilkk/e8a10bcbbf4cc6c31f512bb03035a819 to your computer and use it in GitHub Desktop.
Transparent layer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Create transparent layer for hotspot | |
| searchButton = new Layer | |
| width: 650 | |
| height: 80 | |
| backgroundColor: "rgba(0,0,0, 0.1)" | |
| x: 60 | |
| y: 1100 | |
| #add to parent layer | |
| screen2.addChild(searchButton) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment