Yeah, Unity can be used for 2d, and it is free. I would recommend trying it out.
Viewing post in 2D Engine
There's a cheap asset in the unity asset store called "PlayMaker" that let's you code visually without writing anything. You basically wire up behaviour in a literal sense.
Or just wait a few months for the follow up to Unity 2019.1 as it's said to include a built in Visual Scripting extension for free.