Created
July 6, 2017 08:13
-
-
Save mamezito-zz/fe9b4ec4a5be827119d237ca7ca756c3 to your computer and use it in GitHub Desktop.
utils modulate
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
if pageComponent.x<350 | |
layerA.x = Utils.modulate(pageComponent.x,[0,350],[0,100],true) | |
else if pageComponent.x>350 | |
layerA.x = Utils.modulate(pageComponent.x,[350,1050],[100,1000],true) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment