hello,
im making a RPG and i attached a collider on the trees and character but it doesnt work the character just goes s

traight over the tree.

im new to scripting im more of a graphics guy

In order for collision to work you need to attach a Rigidbody2D component to your player.