Object is asleep

The only thing I’ve been able to find is how to change the default “sleeping is allowed” to false.

I am just looking for an if/then that states

IF the object is asleep THEN
do this
end

Thoughts? i’ve tried object.velocity = 0 with no luck but I think asleep would work better.

Thanks! [import]uid: 32061 topic_id: 7156 reply_id: 307156[/import]

Any ideas? [import]uid: 32061 topic_id: 7156 reply_id: 25330[/import]