Scale the object.
This function multiplies the current scale of the object, unlike setScale which overwrites it. Thus, it is equivalent to the following code:
sf.Vector2f scale = object.getScale();
object.setScale({scale.x * factor.x, scale.y * factor.y});
factors |
factorScale |