How to apply one way collision to a tilemap in godot 4

Related issue: One-way collision direction for tiles · Issue #7483 · godotengine/godot-proposals · GitHub