reduce segments in radial menu material

Hi,

I’m trying to remove a segment one at a time based on the amount of segments can be 2 or 3 depending on weapon type. Is there a way in this setup to remove a segment?
I followed most of this to get started
Segmented Circle Material in Unreal Engine 4 | Unrealistic

here’s what I have so far
Segment radial posted by anonymous | blueprintUE | PasteBin For Unreal Engine