The scale factor to apply to the size of the stimulus.
visualstimulus.name.scale
Read/Write
number
The default is 1.0 scale. Values smaller than 1.0 reduce the size of the stimulus while values larger than 1.0 increase the size.
This property is useful if you want to increase or decrease the size of stimuli throughout runtime.
The following displays the scale of a text stimulus:
<text myText>
/ items = ("scale = <% text.foo.scale %>")
</text>
The following scales a picture stimulus to 1.5 times it size:
<picture targets>
/ items = targetitems
/onPrepare = {this.scale = 1.5;}
</picture>