Place Drag Object onto Drop Zone based on Tag ListPlace Drag Object onto Drop Zone based on Tag Listhttps://portal.smartbuilder.com/c/message_boards/find_thread?p_l_id=&threadId=5308962024-03-19T04:59:11Z2024-03-19T04:59:11ZRE: Place Drag Object onto Drop Zone based on Tag ListNavdeep Dhillonhttps://portal.smartbuilder.com/c/message_boards/find_message?p_l_id=&messageId=5311542022-06-24T17:32:20Z2022-06-24T17:31:47ZHere's a fun way to make your DnD setup/initialization easier, too.Navdeep Dhillon2022-06-24T17:31:47ZRE: Place Drag Object onto Drop Zone based on Tag ListDaniel de Ridderhttps://portal.smartbuilder.com/c/message_boards/find_message?p_l_id=&messageId=5310412022-06-24T06:53:09Z2022-06-24T06:53:09ZThank you Navdeep, the 'alternative' is exactly as short and concise as i was hoping the solution would be.Daniel de Ridder2022-06-24T06:53:09ZRE: Place Drag Object onto Drop Zone based on Tag ListNavdeep Dhillonhttps://portal.smartbuilder.com/c/message_boards/find_message?p_l_id=&messageId=5309682022-06-23T17:28:59Z2022-06-23T17:24:12ZHi Daniel,<br />I think you're really close, but there are a couple issues. One is a bug - this particular block (in the current release) has its labels switched. It will be resolved in our next update. (see attached "correction"). Note that when you use this block, you don't use the blue "tag list" block, because that is actually a list of all the objects (shapes, etc) that have that tag applied - instead you need use a simple text block (which is purple).<br /><br />Another method of handling this is to use the tag list as a list. You can see if the last item dropped is in the list of objects tagged with "dz_both" (or whatever). You would use this block, found under the List category (see attached "as list").<br /><br />If you want to send us your sb4 file (maybe save a copy of your lesson and trim to just that page), we'd be happy to record a video explanation. You can upload it here, or email us at support at smartbuilder com, and we'll post our video reply here.<br /><br />Hope that helps!<br /><br />- NavNavdeep Dhillon2022-06-23T17:24:12ZRE: Place Drag Object onto Drop Zone based on Tag ListDaniel de Ridderhttps://portal.smartbuilder.com/c/message_boards/find_message?p_l_id=&messageId=5309252022-06-23T11:51:44Z2022-06-23T11:51:44ZA bit of tinkering later, and I managed to put together the way I thought it would work.<br />(At least, how I would tackle it in different software)<br /><br />But it doesnt.<br />Also included, a screenshot of the round-about way I implemented this functionality now, without tags. <br />Deadlines are a hassle, but I would still love to learn how to implement this feature based on tags.Daniel de Ridder2022-06-23T11:51:44ZPlace Drag Object onto Drop Zone based on Tag ListDaniel de Ridderhttps://portal.smartbuilder.com/c/message_boards/find_message?p_l_id=&messageId=5308952022-06-23T10:54:56Z2022-06-23T10:51:48ZHello fellow Smartbuilders. <br /><br />I am fairly new to the visual programming language, but a long time C# developer.<br />In the drag and drop interaction I am building, I want to auto-move incorrect zone drops to the correct zone, based on the tag that the drop object carries.<br /><br /><img src="https://i.imgur.com/hjIruZH.jpg" /><br />Currently I am in a situation where I would have to hard-code every drag interaction, because I have NO idea how to check if a object carries my tag, how to confirm its the correct one, and move it to the right spot.<br />Can anyone help me out?<br /><br /><img src="https://i.imgur.com/hNZLPk9.jpg" /><br />Some screenshots of what the Action blocks might look like, would be a great help to better understand this visual programming language.<br />Thank you very much for your time.Daniel de Ridder2022-06-23T10:51:48Z