How to equip a weapon when you scroll through it

Hi i currently have a scrolling skill bar so i can drag my skills to the bar and once the skill is is in the correct slot i can cast it i wanted to also set it up so i can spawn weapons that way and fight with them normally… or would it be easier to just have a separate slot to equip the weapons into?

Are you using the drag-n-drop functionality at all here?

Yes I can drag my skills to the bar from my skill book I just have it setup to rotate through them so Ican just hit one key instead of having to manually press a key each one