Making Entity lose scale after collision (Question)

What is this.entity.collision supposed to point to? Read this post to understand more about how PlayCanvas is architected: How to refer to different parts of the API while scripting