I'm looking to make a Drag n Drop system where players can D&D objs from one grid to another.
There are LOTS of grids I don't want them to be draggable to (but still need to be a drop zone); but the ones I do want them to be draggable to are even more numerous.
So, to prevent players being able to drag an obj to a grid they should not, I currently have this:
How would I go about making it so that I can designate 100 or more grids in a line or 2 of code?
Maybe something like
if(winget(~grid has certain css style, such as blue fonts - which is fine because there will be no text~)) profit
That just seems silly though