I am attempting to have a picture become scaled to a width based on a variable. I attempted using
The picture (19) is 100 px wide. Variable 21 is equal to 5 so I am trying to get the width to therefore be 15 px. Am I going about this wrong?
JavaScript:
$gameScreen.picture(19)._scaleX() = parseInt($gameVariables.value(21) *3)
The picture (19) is 100 px wide. Variable 21 is equal to 5 so I am trying to get the width to therefore be 15 px. Am I going about this wrong?