Do you use Platform behavior?
You can add an instance variable "Direction". At first set Direction="right"
On collision, mirror the sprite and change Direction to "left"
On every tick:
If Direction="right" , simulate Platform pressing Right
If Direction="left" , simulate Platform pressing Left