Area2D body_shape_entered not being triggered when it moves, only when something moves into it?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Karl Daniel

Forgive me if I am misunderstanding something, however body_shape_entered appears only to trigger when another body moves into it and not when it moves and comes into contact with another body?

Is there a way to trigger this signal even when another body (Kinematic2D) doesn’t specifically enter it but enters it as a result of the Area2D moving?

:bust_in_silhouette: Reply From: Karl Daniel

In the end I found a solution, which is inside the _physics_process to check for any overlapping bodies using the built-in get_overlapping_bodies() provided by Area2D.

func _physics_process(delta):
    for bodyInArea in get_overlapping_bodies():
        if == 'Player':
		     is_player_in_range = true