The definition of mesmerize is to hypnotize or capture and hold the attention of someone.(verb)
When an amazing toy captivates a child who cannot look away, this is an example of a situation where the toy mesmerizes the child.
See mesmerize in Webster's New World College Dictionary
See mesmerize in American Heritage Dictionary 4
transitive verb mes·mer·ized, mes·mer·iz·ing, mes·mer·iz·es
Learn more about mesmerize