When you put a flammable object in front of a sticky piston, extend the piston, so that the blocks have been pushed, then light the block on fire. Retract the piston, and the fire will disappear, but if you step where the fire once was, it is still there, you will still take damage. Note: the lighting effects are still there
Duplicate of MCPE-101371