Let's say I have a rectangular block. How would I determine if another actor is touching the top of the block or the bottom of the block or side of the block. Is it possible in greenfoot? If so, what is the general idea to do so and the methods needed for it?
Thanks.
