setScale Acording to UI Editor

setScale Acording to UI Editor
0.0 0

#1

Hi everyone.
I have a very large sprite in my scene and when i import it into cocos creator I manually reduce its size via the tools available in the UI editor. My problem is that in my game there are moments that I need to scale this sprite but when I use setScaleX(), the function works as if the sprite was not scaled in the first place via UI editor tools. for example if my sprite is (10010) and scaled to (2010) via the editor tools, When I use setScaleX(0.2) the size would be (50 * 10) but I want it to be (10 * 10).
What is my problem? how can I tell cocos that I changed the scale via editor tools?