Hey there - it absolutely is 
This is plug and play code;
[lua]local myButton = display.newRect( 50, 400, 50, 20 )
local function pressBtn (event)
if ball == nil then
ball = display.newCircle( 160, 200, 20 )
elseif ball ~= nil then
ball:removeSelf()
ball = nil
end
end
myButton:addEventListener(“tap”, pressBtn)[/lua]
Check that out - you will notice this is recreating the image each time but really it would be better to just toggle the visibility on and off instead, which you would do like this;
[lua]local myButton = display.newRect( 50, 400, 50, 20 )
local ball = display.newCircle( 160, 200, 20 )
local function pressBtn (event)
if ball.isVisible == false then
ball.isVisible = true
elseif ball.isVisible == true then
ball.isVisible = false
end
end
myButton:addEventListener(“tap”, pressBtn)[/lua]
I hope that will be useful for you 
Peach [import]uid: 52491 topic_id: 15876 reply_id: 58695[/import]