add message rect
new texture function
new lua function