Skip to content
Discussion options

You must be logged in to vote

Unfortunately there's no way of preventing the player from moving the objects in an CtrlInventoryGrid without preventing all interactions (which I guess could be done by covering the inventory with a transparent control).

It wouldn't be hard to add something like that, but I'm hesitant to do so because I'm trying to keep the interface simple, while the use-cases for the feature would be somewhat exotic.

But if you're willing mess with the plugin code I can give you brief instructions how to add it yourself:

  1. Add an enable_moving_items (or similar) property to ctrl_inventory_grid_basic.gd
  2. Inside the _handle_item_move method add a check of the property that does an early return:
func _hand…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tanakorn
Comment options

Answer selected by tanakorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants