I try to make a mobile game by using flutter flame, but the controller is not show at the front of the layer even I set priority to 10.
I try to make a priority of controller layer, but it's doesn't work. how to solve it.
I try to make a mobile game by using flutter flame, but the controller is not show at the front of the layer even I set priority to 10.
I try to make a priority of controller layer, but it's doesn't work. how to solve it.

Without any code it is hard to know what the exact problem is, but I would guess that you have added the controller to the game directly, instead of to the viewport. This means that the
Worldwill be rendered in front of it.To solve this, just add the controller to the viewport like this: