Add behavior platform to newly drawn object?

The man and the long line (on the left) has her physics 2. The man can walk on the long line.

In the game I have drawn the small line (on the right) but when the man walks on it it falls straight through. How can I turn the drawn line into a platform just like the fixed line? Have tried adding physics 2 and platform behavior (not at the same time) on newObject but same result, man falls straight through.

Physics 2 (static) works on the fixed platform (line) but not on the painted line (NewObject)


I think that when mouse is down, you need to create a small sprite, the same size as your line, so a small square of 20 px, and give the static Physics 2 to that sprite.
You can hide the object by placing it behind your background, for instance.