I'm making a drag and drop game, but when the object enters the destination position, it is still movable if I don't release the mouse click. Is there a way do "unclick" the object?
Could you provide a code snippet of what you have so far? And what do you mean by "if I don't release the mouse click"? Is the object supposed to exit draggable state once it moves into the designated area?
Are you looking for Input.is_action_just_released( "click" )
Input.is_action_just_released( "click" )
var clicked = false
if input.is_action_just_released( "click" ):
clicked = !clicked