Implement Gestures with Animation over the LazyGrid Compose
I want to create a word-puzzle game, where the user creates words by moving over the grid of letters. I don’t understand how to implement the vertical and horizontal moving (only these directions should be enabled) and select letters in the grid. For this time I have added only animation of the size when ‘onDrag’ method is called. I use Canvas and drawRoundRect to create a movable rectangular.The code I wrote: