I set up movement code so that the player moves forward in increments of 256 quants. I'm trying to prevent movement altogether when c_trace recognizes a wall 128 quants away. The problem is that I don't know how to detect regular walls in c_trace. Code sample: c_trace (player, vector(player.x + 128, player.y, player.z), Use_Box > 0); // where "> 0" returns distance to player. if (hit.entity = NULL) {player.x = 0;} //end of code sample. I tried many variations on this code sample but none seem to work. Please help. If any further info needs to be provided, let me know. Thank you.