Making the Ball in pong move after hitting a platform?

I’m taking a stab at making a pong-like game, but i’m having trouble approaching this problem: I want it so that hitting the ball in a specific  part of the platform would cause it to bounce off in a different direction ( otherwise the only way to make the ball not go in a straight line would be to hit it with the corner of the platform, wich is quite bad). Will I have to make the platforms a multi-element object or is there a simpler way to go about it? (I have tried adding friction to both the platforms and the ball but i’ve seen no consequence from it)

Below is the creating scene, where you can see the values of the platforms and the ball.

function scene:create( event ) local sceneGroup = self.view -- Code here runs when the scene is first created but has not yet appeared on screen -- Getting Display Groups Up and Running (Background/Moving parts/UI) backGroup = display.newGroup() sceneGroup:insert( backGroup ) elementGroup = display.newGroup() sceneGroup:insert( elementGroup ) uiGroup = display.newGroup() sceneGroup:insert( uiGroup ) -- Loading background local background = display.newImageRect( backGroup, "assets/background.png", 320, 620 ) background.x = display.contentCenterX background.y = display.contentCenterY usplatform = display.newImageRect( elementGroup, "assets/usponger.png", 90, 40 ) usplatform.x = display.contentCenterX usplatform.y = display.contentCenterY+240 sovplatform = display.newImageRect( elementGroup, "assets/sovponger.png", 90, 40 ) sovplatform.x = display.contentCenterX sovplatform.y = display.contentCenterY-240 ball = display.newImageRect( elementGroup, "assets/ball.png", 20, 20 ) ball.x = display.contentCenterX ball.y = display.contentCenterY -- Actually making the game objects \*exist\* Physically physics.addBody( usplatform, "static", { friction=1 } ) physics.addBody( sovplatform, "static", { friction=1 } ) physics.addBody( ball, { radius=10, bounce=1.05, friction=0.2 } ) -- Pausing the physics engine physics.pause() end