Making a prop collide with other props but not player

Is this possible?
If so I’d like to know how.


if (e1==your_prop && e2:IsPlayer()) || (e2==your_prop && e1:IsPlayer()) then return false end

Wow thanks.


And since I’m just starting to learn this, where would I put this?

Anywhere that will get run automatically or is made to run by something else.
This usually means putting it in lua/autorun. The ShouldCollide hook is shared so it’s probably better to put it in there rather than a client/server specific subfolder, although it’d probably work if it’s only Serverside, it just wouldn’t allow clientside prediction of movement.