Breakout Game Powerups

I am making a breakout game - arkanoid style but have hit a stumblling block.
What I am trying to do is to have a superball pill released when the ball hits the brick (I have figured that out) but what I need it to do is once it touches the paddle it changes the existing moving ball to a different ball and this is the where I am stuck.
What I need is to change a moving actor which is not connected to the pill or the paddle into the powered up actor. Is this even possible in Gamesalad?
Can someone please please please help?
What I am trying to do is to have a superball pill released when the ball hits the brick (I have figured that out) but what I need it to do is once it touches the paddle it changes the existing moving ball to a different ball and this is the where I am stuck.
What I need is to change a moving actor which is not connected to the pill or the paddle into the powered up actor. Is this even possible in Gamesalad?
Can someone please please please help?
Comments
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
You will need a boolean or integer to trigger when pill hits bat....lets say we make a game.powerUp boolean and when pill collides with bat we change this to true.
Now we do if game.powerUp = true in the ball actor change image to....change size.width change size.height change game.speed or what ever you want.
Then after X seconds you can change game.powerUp back to false and change it all back to the original image size and speed.
Hope this helps.
Darren.
Raj