Possible to copy a portion of a image and store as a sprite?

With another programming language that I use, there is a command:
**GRABSPRITE no%, x%, y%, width%, height%

Grabs a portion of the back buffer from location x%, y%, with width width% and height height%, and stores it as sprite no%. This command is very handy for spilt screen programs or mirror effects as well as dynamical texture generation for 3D objects.**

Is there a command in Corona that is compatible? or maybe sample code to Do as above?

If not, I’ll have to make seperate sprites for the objects.

Thank you [import]uid: 53445 topic_id: 15262 reply_id: 315262[/import]

Hey there,

No, there’s no way to grab a portion of an image to use as a sprite.

Sorry :frowning:

Peach [import]uid: 52491 topic_id: 15262 reply_id: 56376[/import]

You would have to do it manually (make a png) [import]uid: 79135 topic_id: 15262 reply_id: 56384[/import]