GameMaker Studio Extension – Scale9

Scale9 is a simple script to draw a sprite and scale it after subdividing it into a 3×3 grid. All you need to do is pass in a sprite and a subImage index.Scale9 is a simple script to draw a sprite and scale it after subdividing it into a 3×3 grid. All you need to do is pass in a sprite and a subImage index.

draw_sprite_scale9 (sprite, subImage, left, top, right, bottom);

Get Scale9 from the Yoyogames Marketplace : https://marketplace.yoyogames.com/assets/3502/scale9