How where is block
Will this toogle if yes may be I wish u could change checked property to toogle because checked refers to check box on my mind
Toggle means to switch from one state like on
to of
checked means the value of the button is positive.
What it means
still u din't say how it can be done with blocks
jellyToggle1.setChecked(!isChecked);
Use the logic, currently I cannot open app inventor.
So what result I get u mean it will switch any side to right if set true and left if set false
Sorry, cannot understand you're logic.
Leave my logic what result I get on my mobile if

jellyToggle1.setChecked(!isChecked);
To true and what result I get when false
Cannot understand what are you saying.
Sample application if you are having trouble with blocks.
toogle.aia (129.4 KB)
@KUMARASWAMY_B.G Nice extension, but in addition to animation, the ability to set the size of the switch would be useful. Not necessarily width and height separately because it could distort the shape. We could only set the width, the height would be proportional.
Man, I really wish they had this added. I oftentimes use it for things like setting a timer to time you and put this option at the bottom of the screen, it would be great if I could edit the width and height to be smaller than the actual size. But Ty @Kumaraswamy for the animation. Makes my app look even cooler and slick.

Man, I really wish they had this added
There has been a Switch component for some time.....
Hm yes, the recommended size is 5% Height and 15% Width
Change JellyToggle.checked to JellyToggle.on like it is for normal switch.
Nice Extension @Kumaraswamy , How much time will you take to make one extension- Just for knowing
I took like 30 - 40 mins just. Because adding the library was just like 5 mins, removing unnecessary things. And I just followed the documentation. This is my first extension something related to UI type.
So if it is possible to pull the settings out, it could be done.

Change JellyToggle.checked to JellyToggle.on like it is for normal switch.
All in all right. Checked is more like a checkbox.
Hello Sir, please don't go off topic, this topic is about an extensions show case not how long does it take to make extensions.

@KUMARASWAMY_B.G Nice extension, but in addition to animation, the ability to set the size of the switch would be useful. Not necessarily width and height separately because it could distort the shape. We could only set the width, the height would be proportional.
@TIMAI2 I wish they had a custom width/height property for this component. Most of the time it isn't as small as i would like it to be.