How to make sprites not able to be walked through using blocks?

Is what you are saying here somewhat related to this, @Luke?: