Forum Discussion
DeanLodes-a0bc2
8 years agoCommunity Member
Drag and Drop Issue - How to disable drop targets
I am creating a fraction game where the player is dealt a card and can choose where to place the card. I disable the card once it is dropped because the player is not suppose to move the card after ...
GillianDelvigne
7 years agoCommunity Member
Hi Kevin,
You have to create a variable for each drog target. You can define the variable value to 0 and change it to 1 when a correct item is dropped inside. Then you link the state of the drop target to the variable: when the variable value will change, the drop target will turn to a custom "deleted" state that you will create. :)
Hope it helps.
- ZephScotti-73f711 months agoCommunity Member
Thanks, Gillian! This strategy helped me a lot.
Related Content
- 2 months ago
- 2 months ago
- 2 years ago