Line trace for component, will return a component inside an object that was hit.
Line trace for object returns the object as a whole.
you need to have a variable specific to the “drawer” you can toggle, and possibly Tag the drawer as drawer1 or similar
eg, if tag =drawer1, cast to desk, set drawer1open=true
if you need more help, attach a screenshot of your line trace?