Help optimizing blueprint - interacting with objects

My goal is to have a pickup/interactive object system, which i’ve done and it seems to be working fine but i’m wondering if it’ll cause issue later on in development, IE slowdowns/unoptimized blueprints.

Currently i have a line trace that gets the actors class, checks if it’s a battery first then execute the battery blueprint, if not then checks to see if it’s a window, if so then it executes the window blueprint. Currently this is working great but again i feel as if this is going to cause issues farther down development especially if i start adding more objects. Thanks