So i wanted to create a flat switch
The components of switch to be
-the switch
-the background
-the border
default size of switch is 13,33
when it's on the switch it's located at 0, it's blue and at location 19 start the background
![[Image: FCImg25.png]](https://i.imgur.com/FCImg25.png)
and when it's off the switch it's located at 13 and it's red ... from 0 to 13 it's the background ..
all the things so far was successful made ... BUT here come the hard part ...
I want to make an animation ... when the switch it's on and you press it to go smooth, slow(not too slow) down and in the same time to change its color to red slowly ..
AND i did some of that BUT every time i press the switch .. the timer runs but the paint not ... i must move my mouse fast over the switch to see diferences ... i don't know how to explain that but the best way to understand it's to download the component and see what's happends
REMENBER: the size must be 13,33 !
http://www.fileshare.ro/e30763633
The components of switch to be
-the switch
-the background
-the border
default size of switch is 13,33
when it's on the switch it's located at 0, it's blue and at location 19 start the background
![[Image: FCImg25.png]](https://i.imgur.com/FCImg25.png)
and when it's off the switch it's located at 13 and it's red ... from 0 to 13 it's the background ..
all the things so far was successful made ... BUT here come the hard part ...
I want to make an animation ... when the switch it's on and you press it to go smooth, slow(not too slow) down and in the same time to change its color to red slowly ..
AND i did some of that BUT every time i press the switch .. the timer runs but the paint not ... i must move my mouse fast over the switch to see diferences ... i don't know how to explain that but the best way to understand it's to download the component and see what's happends
REMENBER: the size must be 13,33 !
http://www.fileshare.ro/e30763633

![[Image: vP753Sf.gif]](https://i.imgur.com/vP753Sf.gif)
![[Image: xfpcBE2.png]](https://i.imgur.com/xfpcBE2.png)