Please use a `switch` statement for this. Also, all cases need the actor position and size, so please write those getters once and store them in local variables before the `switch`.