I'm not sure if this is possible.
I have created a race car AI which has 2 main sprites with multiple instances of each sprite as sensors so the car knows when to turn.
This is working fine but I now want to create multiple cars to race.
The problem I have is I want to create another copy of the car and all of the sensor instances without having to create brand new sprites.
Each Instance has a different instance variable set so the car know how much to turn if that sensor hits a wall.
I have tried to create a container for this but that creates a new car for every instance of the sensor sprites so I end up with 6 cars driving uncontrollably.