Slice Image into pieces

I want to slice images into pieces through code is that possible through masking or sprite type slice i want its piece to be of the same size

Here is a slice sprite demo you can refer to:
2021120801

2 Likes

@linrm Thankyou this is amazing