Lime and Collision Listener

I recently purchased Lime and I am trying to attach a collision listener to an object that is (HasBody,Static) but does not have an image attached to it. Here is the code I am attempting to do this with:
[blockcode]
local visual = lime.createVisual(map)
levelGroup:insert(visual)
timer.performWithDelay(500,physicalLime)
local layer = map:getObjectLayer(“Object Layer 1”)
– local objects = layer.objects
grass =layer:getObject(“Ground”)
grass.collision = onGroundCollision
grass:addEventListener(“collision”,grass)
[/blockcode]
Is it possible to attach a listener to an object with no image but physics properties? If so, how do I do it? Thanks for any information! [import]uid: 56765 topic_id: 13145 reply_id: 313145[/import]

Could you possibly use an invisible sensor instead? It seems simpler. [import]uid: 52491 topic_id: 13145 reply_id: 48335[/import]

Thats a good idea, I’ll give that a try tonight. Thanks! [import]uid: 56765 topic_id: 13145 reply_id: 48373[/import]

No worries - if you have any difficulty understanding how they work check out the Simple Pool sample, it’s how I learned about them way back when :wink: (REALLY useful stuff!) [import]uid: 52491 topic_id: 13145 reply_id: 48556[/import]