Switching one ability on disables another

Do i need to do the set component aswell ive tried both ways of set component and with the second image of branch and the inputs both dont work