Limiting the terrain that an actor can walk on

Ok, second picture got deleted for some reason, so i’ve reuploaded it.

Anyway, can anybody help me? I’m stuck here…