Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tablet = {
- display.newRect(100,100,50,50),
- display.newRect(150,150,50,50)
- }
- function touch(e)
- print("touched")
- end
- table.foreach(tablet, touch)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement