thank you! too late tho i just made a menu-Impossible, but you can do something like this:
- Create two (ordered) lists: one with the block locs of the item frames and one with the items in them
- On player click entity event, check whether its an item frame and if yes then get its location and align its location to the center of the block (dont forget to remove rotation)
- Check if the location list contains the itemframe loc (get list index of value), if the index is greater than 0 (so it exists), then get the item from the items list at the index and give it to the player