Maybe there are better ways, but the easiest one I’ve found so far is to draw a frame with target crop rectangle, set its overflow to hidden, and reparent the image into the frame.
There’re some issues tho when resizing the cropped image.
PS: If you find this tip difficult to understand, check out this course I prepared for you, where concepts are explained in a more digestible way. No programming experience required!
© 2018 jimu Labs, Inc.