void setOffsetBySizeAndAnchor(Vector2 size, Anchor anchor) { offset = Vector2(-anchor.x * size.x, -anchor.y * size.y); }