[SOLVED] How can i stuff an object into a variable?

if its not possible, give me an alternative to this. :melting_face:

Hi, you can store specific information about an object in a variable (position, animation number etc.). What the information is depends on the object (sprite, text, particle etc.). If you mean by object all possible information about an object you would need several variables which you could store in an array or list.

2 Likes

oh, i just add 2 variables because i need the x and y axis of the object, which i can call it using pick an objeect by the 2 variables.