Mike
Trying to scale a sprite (healthBar) in lua using one of these lines of code, I experience a weird behavior:
healthBar.scale.x = healthBar.scale.x - 1 / 10
healthBar.scale = healthBar.scale - Vector2(1 / 10, 0)
Both lines return the correct scale but only the last one ‘updates’ the UIElement’s scale.
Same code in AngelScript complains that scale.x is read-only.