Zoom Extension

UPDATE 2.0 IS OUT!
(I know you’ll like this @danger_kitty lol!)
With the help of @AqeeAqee on this topic, I figured out a new way of zooming - but it runs wayyyy better (almost as if the extension wasn’t running) and even has full perf on hardware! It’s the same extension (kiwiphoenix364/pxt-zoom), but the blocks are reworked to be better and more intuitive! Zoom no longer works in the negative values due to how it is coded. (Although I could easily add that in manually - but I may add new blocks for zooming x and y individually, so I will probably wait until then to implement negative values, I may also add a mirror screen block for ease of use as an addition too.)

The offset block will zoom with an offset of the specified pixels, and the anchor one will be anchored to one part of the screen! If you click +, it will zoom from its current “zoom level” to the new one in a specified number of milliseconds, or if the + isn’t clicked (or the number is set to below 25, the time between screen updates in the extension), it will zoom instantly. To set the zoom back to normal, simply set the zoom to 1. Enjoy!!!

4 Likes