It has been a while since I used GameStudio but a trace will return details about what was hit. YOu can check special flags and the texture name. The flags can be set through WED so you could set up certain surfaces to have that flag turned on and when you scan check that flag.