for anyone who has more than 3 slots, for the mouse wheel up do exactly what he did but change the - - (decrement) to a + + (increment) then change the set current hotbar slot to 1. For the mouse wheel down, change the != (not equal) to the amount of slots you have but subtract the amount by 1 (basically your last hotbar slot) then change the + + (increment) to a -- (decrement) and change the set to 1 less then the value of your not equal. After all of this, duplicate the mouse wheel up script we just wrote and change the not equal to the amount of slots you have but subtract the value by 1, now keep the increment but connect the exec pin (the white one) to a increment. Then change the set current hotbar slot to a -1. After this duplicate the mouse wheel down script and change the not equal (!=) value to 0. Then connect the white pin of the decrement to an increment and change the current hotbar slot to however hotbar slots you ACTUALLY have. Hope this helps y'all.
I don't understand why my hotbar doesn't work the way it should... He swaps items only if I drag him to another slot as quickly as possible. Otherwise, it just stays in the same place. The problem is similar as at 8:47
@@AVA-cz5jk Running into this issue too, can only drag and drop the hotbar right to left quickly but seems to work fine from left to right . Did you manage to find a solution?
for anyone who has more than 3 slots, for the mouse wheel up do exactly what he did but change the - - (decrement) to a + + (increment) then change the set current hotbar slot to 1. For the mouse wheel down, change the != (not equal) to the amount of slots you have but subtract the amount by 1 (basically your last hotbar slot) then change the + + (increment) to a -- (decrement) and change the set to 1 less then the value of your not equal. After all of this, duplicate the mouse wheel up script we just wrote and change the not equal to the amount of slots you have but subtract the value by 1, now keep the increment but connect the exec pin (the white one) to a increment. Then change the set current hotbar slot to a -1. After this duplicate the mouse wheel down script and change the not equal (!=) value to 0. Then connect the white pin of the decrement to an increment and change the current hotbar slot to however hotbar slots you ACTUALLY have. Hope this helps y'all.
Or… for scroll wheel down change the != 2 to be != the amount of slots you have -1. That’s all it would require.
@@MrKnowBodyUE5 oh lol i over did that
Get(Ref) can be more performant because it doesn't create copies of the data. Get(ref) simply modifies the object. That's all I know(
I don't understand why my hotbar doesn't work the way it should... He swaps items only if I drag him to another slot as quickly as possible. Otherwise, it just stays in the same place. The problem is similar as at 8:47
Thanks very much!
@@AVA-cz5jk Running into this issue too, can only drag and drop the hotbar right to left quickly but seems to work fine from left to right . Did you manage to find a solution?