I have a template with a symbol in it (a group of two lines making a “+” sign), which rotates 45 degrees on click. The animation is performed by binding the angle of the symbol to the x coordinate of a small invisible rectangle, and then moving the rectangle (using system.gui.transform) on click. When the template is clicked, it also toggles a boolean parameter called “toggled”. The animation works fine when I place the template on a display and click it.
Now, I want to set up a property change script on an instance of the template in a window. When the “toggled” parameter changes, I use system.gui.transform to move the template a certain distance across the display. When I do this, the template moves and the symbol turns, but the symbol also stretches and deforms. After a few clicks, the symbol is completely gone, although the button still functions.
Any ideas why this might be happening, or how to fix it?
The error only occurs when the project is run in Full Screen.