This puzzle needs rework/more information. Only figured out how you solve it by doing random clicking but you definitely made this way too confusing without additional context like not saying that hitting the ? buttons change direction of the gold bar.