# Automatic Casts when Appropriate / Possible?

**URL:** <https://forums.apparance.uk/t/automatic-casts-when-appropriate-possible/34>\
**Category:** Backlog\
**Tags:** request, ui, ux, graph-qol\
**Created:** [15 November 2021 16:35 UTC](https://forums.apparance.uk/t/automatic-casts-when-appropriate-possible/34 "2021-11-15T16:35:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EduardoHulshof](https://dub1.discourse-cdn.com/flex013/user_avatar/forums.apparance.uk/eduardohulshof/32/66_2.png) [@EduardoHulshof](https://forums.apparance.uk/u/EduardoHulshof)\
**Post date:** [15 November 2021 16:35 UTC](https://forums.apparance.uk/t/automatic-casts-when-appropriate-possible/34/1 "2021-11-15T16:35:47Z")

</div>

In UE4 whenever I try to drag an Integer to a floating slot, an automatic cast is created.

It would be really useful if automatic casts would be created when dragging a line.

the target nodes could be colored accordingly:

🟩Green: Direct Connection (the current behaviour)  
🟨Yellow: Appropriate Cast will be created  
🟥Red: Cast not possible

Something along these lines

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/apparance/original/1X/9e4e0f1ebbfd7081e4037d19b05ddca237d75ad5.png)

---

<div class="post-metadata">

**Author:** ![sam](https://dub1.discourse-cdn.com/flex013/user_avatar/forums.apparance.uk/sam/32/8_2.png) [@sam](https://forums.apparance.uk/u/sam)\
**Post date:** [15 November 2021 17:58 UTC](https://forums.apparance.uk/t/automatic-casts-when-appropriate-possible/34/2 "2021-11-15T17:58:42Z")

</div>

Yes, indeed. In fact the little triangles already support those exact colours because I planned to do this one day. A bit of thought required though as I’d like trivial conversions to appear as a bump on the input connection point and not a whole operator node. For parameterised conversions it’d probably have to be a full node.
